Skip to content

Implement is_mining for EthApi#15

Merged
sorpaas merged 1 commit intopolkadot-evm:masterfrom
moonbeam-foundation:tgmichel-ismining
Jun 2, 2020
Merged

Implement is_mining for EthApi#15
sorpaas merged 1 commit intopolkadot-evm:masterfrom
moonbeam-foundation:tgmichel-ismining

Conversation

@tgmichel
Copy link
Copy Markdown
Contributor

@tgmichel tgmichel commented Jun 2, 2020

rel #7
EthApi::is_mining

Copy link
Copy Markdown
Member

@sorpaas sorpaas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can have this now, but note that it is possible to know from Substrate whether the current node is an authoring node, and return appropriate true value.

@sorpaas sorpaas merged commit 7e6c4bc into polkadot-evm:master Jun 2, 2020
@tgmichel tgmichel deleted the tgmichel-ismining branch October 7, 2020 09:13
sorpaas added a commit that referenced this pull request May 8, 2023
* Release branch polkadot-v0.9.38 (#1015)

* EIP-2539 (#15)

* Update shell.nix

* Read point from input

* Finish `BLS12377G1Add`

* Fix `BLS12377G1Add` output encode

* Finish `BLS12377G1Mul`

* Finish `BLS12377G1MultiExp`

* Finish `BLS12377G2Add`

* Finish `BLS12377G2Mul`

* Draft `eip-2539` implement

* Finish `BLS12377Pairing`

* Draft `eip-2539`

* Multiplication by the unnormalized scalar

* Rename serialize to write

* Test Cases

* Test Cases

* Rewrite read_fq

* Rename

* Doc and cleanup

* Tidy

* Tidy

* Tidy

* Only check point in subgroup for pairing

* Fmt

* Tests

* Typo

* Typo

* Fix conv

* Change err info

* Fmt

* EIP-2539 tests

* EIP-2539 tests

* Lint and test

* EIP-3026  (#16)

* Update shell.nix

* G1Add and G1Mul

* G1MultiExp

* G2Add

* G2Mul and G2MultiExp

* Bw6Pairing

* EIP-3026 tests

* EIP-3026 failure tests

* Fix lint

* Lint

* Lint and test

* Comment

* Deps order

* Fmt

* Lint

---------

Co-authored-by: Wei Tang <wei@pacna.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants